package com.whq.mvc.base.collection;

import java.util.HashMap;
import java.util.Map;

public class MapDemo {
    public static void main(String[] args) {
        Map map = new HashMap<String, String>();
        map.put("a", "a");
        map.put("b", "b");
        map.forEach((k, v) -> {
            System.out.println(k + ":" + v);
        });
    }
}
